package com.yz.smartpos.yztester.util;

import com.yz.smartpos.yztester.ui.MainActivity;

import java.util.List;
import java.util.Map;
import java.util.Set;

public class TesterState {
    private static final String TAG = "TesterState";
    protected static MainActivity mActivity;

    public final static int TEST_IDIE = 0;
    public final static int TEST_RUNNING = 1;
    private static int mCurrentRunState = TEST_IDIE;

    public static TestCase mCurrentCase = null;
    public static String mCurrentCaseName = "";
    public static int errorCount = 0;

    public static Set<TestCase> caseList_suc = null;
    public static Set<TestCase> caseList_fail = null;
    public static Set<TestCase> caseList_unsup = null;
    public static Set<TestCase> caseList_runned = null;
    public static Set<TestCase> caseList_auto = null;
    public static Set<TestCase> caseList_auto_rf = null;
//    public static Map<String, Map<String, List<TestCase>>> dataSet;
    public static Map<String, List<TestCase>> dataSet;
    public static List<String> interfaceList;
    public static List<String> interClassList;
    public TesterState(){

    }

    public static int getRunState(){
        return mCurrentRunState;
    }

    public static void setRunState(int state){
        mCurrentRunState = state;

    }

    public static int getResultState(){
        return mCurrentRunState;
    }
}
